package com.kedacom.demo.modb.rabbitmq.message;

/**
 * Modb中的顶级抽象消息类
 * @author luocanfeng
 * @date 2013-1-10
 */
public abstract class ModbMessage {

	protected MessageType messageType;

	public MessageType getMessageType() {
		return messageType;
	}

	protected void setMessageType(MessageType messageType) {
		this.messageType = messageType;
	}

	public static enum MessageType {
		CREATE_ACCOUNT_EVENT, CREATE_ACCOUNT_SQL_AND_EVNET, UPDATE_ACCOUNT_EVENT, UPDATE_ACCOUNT_SQL_AND_EVNET
	}

}
